package iris.flex.logic
{
	import mx.core.Application;
	
	public class FlexProcessor
	{
		public static function extCallLater(method:Function, parameter:Array = null, delay:Number = 1):void
		{
			if(delay > 1)
				Application.application.callLater(extCallLater, [method, parameter, delay - 1]);
			else
				Application.application.callLater(method, parameter);
		}
	}
}